// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once

#include "PDAPlayerController.generated.h"

UCLASS()
class APDAPlayerController : public APlayerController
{
	GENERATED_UCLASS_BODY()

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=Aiming)
	float AimTurnSpeed;

protected:

	// Begin PlayerController interface
	virtual void PlayerTick( float deltaTime ) OVERRIDE;
	virtual void SetupInputComponent() OVERRIDE;
	// End PlayerController interface

	/** Input handlers for Moving. */
	void OnMoveForward( const float value );
	void OnMoveRight(const float value);
	void OnAimForward(const float value);
	void OnAimRight(const float value);

private:
	
	void UpdateAimDirection(const float deltaTime);

	FVector AimDirection;
};


